package org.leyi.shop.util;

import com.baomidou.mybatisplus.core.toolkit.IdWorker;

public class IDRandomUtils {
    /**
     *
     * description: 获得订单的id
     * @return long
     * @author  lenovo
     * create 2024/5/19-21:41
     */
    public static long getOrderId()
    {
        return IdWorker.getId();
    }

    /**
     *
     * description: 获得默认的id
     * @return long
     * @author  lenovo
     * create 2024/5/19-21:41
     */
    public static long getDefaultId() {
        return 0;
    }
}
